#ifndef __STDSQLITE_H_
#define __STDSQLITE_H_

struct StdSqlite;
typedef struct StdSqlite Sql;

Sql *InitSqlite(const char *filename);
void CreateTable(Sql *s,const char *tableName,char **PropertyList,int row);
void InsertData(Sql *s,const char *tableName,char **values,int num);
void UpdateData(Sql *s,const char *tableName,const char *UpDataStr,const char *where);
void DeleteData(Sql *s,const char *tableName,const char *where);
void GetAllFromTable(Sql *s,const char *tableName,char ***result,int *row,int *column);
void FreeResult(Sql *s,char **result);
int GetTableLen(Sql *s,const char *tableName);

#endif
